<div class="rowInput">
	<div class="labelField"><?= $param['LABEL'] ?>:</div>
	<div class="inputField">
		<select name="<?= $param['NAME'] ?>" <?= $param['ID'] !== null ? 'id="' . $param['ID'] . '"' : ''; ?>>
		<?php
		if(is_array($param['VALUES']) && count($param['VALUES']) > 0)
		{
			foreach ($param['VALUES'] as $key => $val)
			{
				echo "<option value=\"" . $key . "\"";
				echo $param['DEFAULT'] == $key ? ' selected' : '';
				echo ">" . $val . "</option>";
			}
		}
		else
		{
			echo "<option value=\"" . $param['EMPTY_VAL'] . "\">" . $param['EMPTY_MESSAGE'] . "</option>";
		}
		?>
		</select>
	</div>
</div>